from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
_magic_number = 2
_modified_time = 1204994550.8959999
_template_filename='C:\\Projects\\myfirstproject\\myfirstproject\\templates/addImage.mako'
_template_uri='/addImage.mako'
_template_cache=cache.Cache(__name__, _modified_time)
_source_encoding='utf-8'
_exports = []


def render_body(context,**pageargs):
    context.caller_stack.push_frame()
    try:
        __M_locals = dict(pageargs=pageargs)
        h = context.get('h', UNDEFINED)
        finished = context.get('finished', UNDEFINED)
        game = context.get('game', UNDEFINED)
        imageSelectedOk = context.get('imageSelectedOk', UNDEFINED)
        # SOURCE LINE 2
        context.write(u'\n')
        # SOURCE LINE 3
        if finished:
            # SOURCE LINE 4
            context.write(u'\tCongratulations! You are a game pro!\n\t')
            # SOURCE LINE 5
            context.write(unicode(h.javascript_tag(h.visual_effect('Highlight', "message", duration=3))))
            context.write(u'\t\n\t')
            # SOURCE LINE 6
            context.write(unicode(h.javascript_tag(h.update_element_function("right_column", content=""))))
            context.write(u'\n\t')
            # SOURCE LINE 7
            context.write(unicode(h.javascript_tag(h.update_element_function("warcraft", content=""))))
            context.write(u'\n\t')
            # SOURCE LINE 8
            context.write(unicode(h.javascript_tag(h.update_element_function("diablo2", content=""))))
            context.write(u'\n')
            # SOURCE LINE 9
        elif imageSelectedOk:
            # SOURCE LINE 10
            context.write(u'\tYes, this image is from ')
            context.write(unicode(game))
            context.write(u'\n\t')
            # SOURCE LINE 11
            context.write(unicode(h.javascript_tag(h.visual_effect('Highlight', "message", duration=1))))
            context.write(u'\n\t\n')
            # SOURCE LINE 13
        else:
            # SOURCE LINE 14
            context.write(u'\tNo, this image is not from ')
            context.write(unicode(game))
            context.write(u'\n\t')
            # SOURCE LINE 15
            context.write(unicode(h.javascript_tag(h.visual_effect('Highlight', "message", duration=1))))
            context.write(u'\n')
        return ''
    finally:
        context.caller_stack.pop_frame()


